home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 July
/
EnigmA AMIGA RUN 09 (1996)(G.R. Edizioni)(IT)[!][issue 1996-07 & 08][EARSAN CD VIII].iso
/
earcd
/
dev1
/
nwstrt38.rdm
< prev
next >
Wrap
Text File
|
1996-06-17
|
4KB
|
127 lines
Short: Enhanced startupcode for assembler v3.8
Author: Kenneth C. Nilsen (kenneth@norconnect.no)
Uploader: Kenneth C. Nilsen (kenneth@norconnect.no)
Type: dev/asm
Replaces: dev/asm/NewStartup*
Startup.asm
===========
$VER: Startup_asm 3.8 (06.06.96)
Copyright © 1995,1996 by Kenneth C. Nilsen (kenneth@norconnect.no).
All rights reserved.
Currently the most powerful startup code you'll find for your assembler.
This source is public domain.
Works with any kickstart, chip and configuration.
Should work with AsmOne, BarFly, DevPac, Trash'm'One etc.
WHAT KIND OF USE?
=================
* Checks processor and fpu. Allowing requirement for this.
* Supports 68060.
* Run your program from WB and CLI.
* Open libraries by one command line. You don't have to think about
open or close them, this is done automatically!
* Dumps error messages on ALL errors (from 3.5+): too low processor,
no FPU, no library etc. and then exits gracefully.
* Parse any kind of arguments. Handles quotes, asterix' etc.
Returns null terminated extracted arguments.
* Completely system friendly.
* Sets tasknames easily.
* Just one include. Need no external includes.
* Adds 10 macro commands to your assembler.
* Exit with the right return code.
* Educational source. Source fully documented.
* Source is public domain.
* Demo sources follows this archive.
NEW FEATURES
============
3.8:
- Bug fix (lock on dir from WB).
3.7:
- Private release
3.6:
- Found a solution for Barfly and Devpac users (thanks to Eivind
Olsen). Changes for AsmOne users: don't use '"'s, Barfly and Devpac
users can use "< >" to use the TaskName macro.
3.5:
- Enhanced features.
Optimized the code and made if more compatible with a larger range
of assemblers.
Added feature to allow "Libbase exec".
Added macros to the macro file to support BarFly.
3.4:
- Added <Return> macro. Use it like "Return 0" and it puts the return
code in D0 and makes a RTS automatically. Added info to doc and
startup example. Optimized some code.
Added comments in the Startup.asm source! :)
Added *n (newline) feature in argument parsing. Use this like:
> Test "This is a test*nto see newline in *"quotes*".". This will be:
> This is a test
> to see newline in "quotes".
Included a sample header source in the archive.
This is the first public release on the AmiNet.
3.3beta:
- Is now bug free! :) Only thing to change now is to read icon args/
tooltypes from Workbench due to a main release :)
3.2beta:
- Added 68040 FPU options. Use:
MathProc = 68881/68882 or 68040 to set FPU. 0=no FPU.
BUG FIXES
=========
3.8:
- programs left a lock on the directory when they were started from
WB. Forgot to add ReplyMsg() to the exit code. Bug is now removed!
3.7:
- Private release
3.3beta:
- an enforcer hit fixed (BYTE READ FROM 0). Occured when starting from
icon with no argument. Never was dangerous, but still nice to have
it all clean :)
3.2beta:
- there was a bug testing for 68060. If you had a 040 with 040FPU this
allowed you to run programs assembled for 060.
- a bug where reported about the Version and TaskName macros. These
work fine with AsmOne, but both DevPac and Barfly can not handle
spaces between words even if they are in quotes. Sorry, can not do
something about this (I think) so write version strings manually and
use TaskName with underscores instead of spaces...
- an enforcer hit (BYTE READ FROM 0) where reported when started from
workbench. Working on the problem, but no danger... :)
3.1beta:
- Implemented an unfinished Startup.asm file in the 3.0 archive.
- Expanded the NextArg macro to solve *" situations in arguments.
- Added buffercount for output strings. This caused misunderstandings
and people reported bugs. Not a bug, but not a good presentation :)